import request from '@/utils/request'

// 查询导入BTS列表
export function listImport(query) {
  return request({
    url: '/business/import/list',
    method: 'get',
    params: query
  })
}

// 查询导入BTS详细
export function getImport(id) {
  return request({
    url: '/business/import/' + id,
    method: 'get'
  })
}

// 新增导入BTS
export function addImport(data) {
  return request({
    url: '/business/import',
    method: 'post',
    data: data
  })
}

// 修改导入BTS
export function updateImport(data) {
  return request({
    url: '/business/import',
    method: 'put',
    data: data
  })
}

// 删除导入BTS
export function delImport(id) {
  return request({
    url: '/business/import/' + id,
    method: 'delete'
  })
}
